package com.funtl.screw.gateway;

import com.funtl.screw.common.gateway.annotation.EnableServiceDynamicRoute;
import com.funtl.screw.common.swagger.annotation.EnableServiceSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author lusifer
 * @since 2018年06月21日 网关应用
 */
@EnableServiceSwagger2
@EnableServiceDynamicRoute
@EnableDiscoveryClient
@SpringBootApplication
public class GatewayApplication {

	public static void main(String[] args) {
		SpringApplication.run(GatewayApplication.class, args);
	}

}
